package com.njlime.cms.repository.app;

import com.njlime.cms.entities.Channel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Map;

/**
 * Created by Dean on 2017-7-27.
 */
public interface AppChannelDao extends JpaRepository<Channel, Integer>,JpaSpecificationExecutor<Channel> {
    List<Map<String,Object>> getChannelList(int root_unit_id);
}
